package com.zxl.facade;

public class Facade {
	SubSystemOne one;
	SubSystemTwo two;
	SubSystemThree three;
	SubSystemFour four;
	/**
	 * �����  ��Ҫ�˽����е���ϵͳ�ķ��������ԣ�������ϣ��Ա�������
	 */
	public Facade(){
		one = new SubSystemOne();
		two = new SubSystemTwo();
		three = new SubSystemThree();
		four = new SubSystemFour();
	}
	/**
	 * �����ϵͳ�еķ���
	 * 
	 * zxl
	 * 2016��7��11�� ����5:09:13
	 * void
	 */
	public void MethodA(){
		System.out.println("����A---------");
		one.methodOne();
		two.methodTow();
		four.methodFour();
	}
	/**
	 * �����ϵͳ�еķ���
	 * 
	 * zxl
	 * 2016��7��11�� ����5:09:13
	 * void
	 */
	public void MethodB(){
		System.out.println("����B----------");
		one.methodOne();
		three.methodThree();
	}
	
	
}
